<template>
	<aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig"></aplid-base-crud>
</template>

<script setup lang="ts">
const baseConfig = {
	pageName: '养老服务组织管理',
	dictcodes: ['ORG_TYPE', 'ORG_LEVEL'],
	rowKey: 'roleId',
	api: {
		index: 'sysServiceOrganization_page',
	},
	auth: {
		index: 'sysServiceOrganization_page',
	},
	tableConfig: {
		stripe: true,
		border: true,
		maxHeight: '80vh',
		columns: [
			{ label: '年审机构名称', prop: 'roleName' },
			{ label: '年审日期', prop: 'organizationName' },
			{
				label: '年审意见',
				prop: 'creditCode',
			},
			{ label: '受理登记号码', prop: 'burdenUserName' },
			{ label: '批准文号', prop: 'burdenUserPhone' },
			{ label: '许可证编号', prop: 'burdenUserPhone' },
		],
	},
}
</script>

<style scoped></style>
